package com.xmtlxx.oms.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.xmtlxx.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;



/**
 * 箱子领用视图对象 t_box_dept
 *
 * @author xmtlxx
 * @date 2022-12-07
 */
@Data
@ApiModel("箱子领用视图对象")
@ExcelIgnoreUnannotated
public class BoxDeptVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    @ApiModelProperty("主键ID")
    private String id;

    /**
     * 箱子ID
     */
    @ExcelProperty(value = "箱子ID")
    @ApiModelProperty("箱子ID")
    private String boxId;

    /**
     * 箱号
     */
    @ExcelProperty(value = "箱号")
    @ApiModelProperty("箱号")
    private String boxNo;

    /**
     * 领用部门
     */
    @ExcelProperty(value = "领用部门")
    @ApiModelProperty("领用部门")
    private Long boxDept;

    /**
     * 状态(0-待使用,1-已使用)
     */
    @ExcelProperty(value = "状态(0-待使用,1-已使用)", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "box_status")
    @ApiModelProperty("状态(0-待使用,1-已使用)")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    @ApiModelProperty("备注")
    private String content;


    @ApiModelProperty("部门")
    private String deptName;


}
